圆形进度条测试 void timer_Tick(object sender, EventArgs e)
{
if (this.circularProgressBarEx1.Value < 100) { this.circularProgressBarEx1.Value ; }
if (this.circularProgressBarEx2.Value < 100) { this.circularProgressBarEx2.Value ; }
if (this.circularProgressBarEx3.Value < 100) { this.circularProgressBarEx3.Value ; }
if (this.circularProgressBarEx4.Value < 100) { this.circularProgressBarEx4.Value ; }
if (this.circularProgressBarEx5.Value < 100) { this.circularProgressBarEx5.Value ; }
if (this.circularProgressBarEx6.Value < 100) { this.circularProgressBarEx6.Value ; }
if (this.circularProgressBarEx7.Value < 100) { this.circularProgressBarEx7.Value ; }
if (this.circularProgressBarEx8.Value < 100) { this.circularProgressBarEx8.Value ; }
if (this.circularProgressBarEx9.Value < 100) { this.circularProgressBarEx9.Value ; }
}
private void button1_Click(object sender, EventArgs e)
{
this.circularProgressBarEx1.Value = 0;
this.circularProgressBarEx2.Value = 0;
this.circularProgressBarEx3.Value = 0;
this.circularProgressBarEx4.Value = 0;
this.circularProgressBarEx5.Value = 0;
this.circularProgressBarEx6.Value = 0;
this.circularProgressBarEx7.Value = 0;
this.circularProgressBarEx8.Value = 0;
this.circularProgressBarEx9.Value = 0;
}
评论